<link href="../addons/jy_mlianfee/custom/templates/mobile/style.css?v=202105251730" rel="stylesheet">
<style type="text/css">
	.icon1 {
		width: .8rem; height: .8rem;
		vertical-align: -0.15em;
		fill: currentColor;
		overflow: hidden;
	}
.fui-block-group {
    border-radius:0.5rem
}
.fui-block-group .fui-block-child {
    background: #fff;
}
.fui-block-group .fui-block-child .icon {height: auto; padding-top: 0.3rem; text-align: center; font-size: 1.3rem;}
.fui-block-group .fui-block-child .icon i { font-size:1.3rem;}
.fui-block-group .fui-block-child .title {
    height: auto;
    font-size: 0.6rem;
    line-height: 1.4
    text-align: center;
    color: #333;
}
</style>
<!--<div class="fe-floatback right" style="left:0.2rem">
		<a href="javascript:void(0);" ng-click="access_json('jy_weishop/index/')">
		<i class="icon jinyunicon icon-back"></i>
		</a>
</div>-->
<div class="fui-page fui-page-current page-commission-index ">
    <div class='fui-content'>
	<div ng-if="pagedata.tips" class="tips tips-yellow" style="margin:0">
			<i class="fa fa-bullhorn"></i> {{pagedata.tips}}
	</div>
	<div style="background: {{main.syscolor||'#05c175'}};padding:1rem 0.5rem;margin-top:0;padding-bottom:1.6rem;">
			<div class="fui-cellone" style="padding:0">
				<div class="fui-cellone-label" style="width:auto;">
					<img style="border-radius: 0.2rem;width:2.2rem;height:2.2rem" ng-src="{{tomedia(pagedata.member.avatar) || '../core/resource/images/gw-user.png'}}" />
				</div>
				<div class="fui-cellone-text" style="font-size:0.7rem;color:#fff;padding-left:0.5rem">
					<div class="bold">{{pagedata.member.nickname || '昵称'}} </div>
					<div style="font-size:0.6rem">等级 ：{{pagedata.member.leveltitle}}</div>
					<div style="font-size:0.6rem">所属店铺 ：{{pagedata.merch.merchname || '无'}}</div>
				</div>
				<div ng-if="pagedata.setting.myshop==1" class="fui-cellone-remark noremark" style="font-size:1rem;color:#fff;">
					<i href="javascript:;" ng-click="access_json('jy_mlianfee/info/main')" class="icon icon-set"></i>
				</div>
			</div>	
			<div class="fui-icon-group noborder  col-3" style="padding-top:0.5rem">
					<div class="fui-icon-col-sm external" style="margin:0">
													<div>
														<div class="subtitle" style="font-size:0.7rem;color:#fff">总带货收益</div>
														<div class="text bold" style="color:#fff;line-height:1.6rem;font-size:1rem">{{pagedata.data.commission_total || '0.00'}}</div>
													</div>
					</div>
					<div class="fui-icon-col-sm external" style="margin:0">
													<div>
														<div class="subtitle" style="font-size:0.7rem;color:#fff">总培育收益</div>
														<div class="text bold" style="color:#fff;line-height:1.6rem;font-size:1rem">{{pagedata.data.fee2 || '0.00'}}</div>
														
													</div>
					</div>
					<div class="fui-icon-col-sm external" style="margin:0">
													<div>
														<div class="subtitle" style="font-size:0.7rem;color:#fff">总生态池</div>
														<div class="text bold" style="color:#fff;line-height:1.6rem;font-size:1rem">{{pagedata.data.allcifee || 0}}</div>
													</div>
					</div>
			</div>			
	</div>
	<div style="padding:0.5rem;margin-top:-2.5rem">
		<div class="fui-cell-group fui-cell-click mod-group" style="margin-top:0.5rem">
			<a class="fui-cell external" href="javascript:;" ng-click="access_json('core/member.xunibi/')">
				<div class="fui-cell-text bold">我的账户</div>
				<div class="fui-cell-remark" style="font-size: 0.65rem;">查看我的账户</div>
			</a>
			<div class="fui-icon-group col-4 selecter">
				<div ng-repeat="(key,item) in pagedata.credit_types" class="fui-icon-col-sm external" style="margin:0">
					<div ng-click="access_json('core/member.xunibi//type='+key)">
						<div class="text bold" style="color:{{main.syscolor || '#7c1cc9'}}">{{item.fee || '0.00'}}</div>
						<div class="subtitle" style="font-size:12px;color: #666;">{{item.title}} <span style="color:{{main.syscolor || '#4491F1'}}">查看</span></div>
					</div>
				</div>
			</div>
		</div>
		<div class="fui-cell-group radius">
			<div class="fui-cell">
				<div class="fui-cell-icon">
					<i class="icon jinyunicon icon-qrcode"></i>
				</div>
				<div class="fui-cell-text">我的邀请码：{{pagedata.member.mid}}
				</div>
				<div class="fui-cell-remark" style="font-size: 0.5rem;" ng-click="pagedata.ewmshow=true;pagedata.show_verify();"></div>
			</div>
			<div class="fui-cell" ng-click="access_json('jy_mlianfee/merchmember/');">
				<div class="fui-cell-icon">
					<i class="icon jinyunicon icon-wo1"></i>
				</div>
				<div class="fui-cell-text">商户会员：{{pagedata.data.fmerchidnum || 0}}个
				</div>
				<div class="fui-cell-remark" style="font-size: 0.5rem;"></div>
			</div>
		</div>
		<div class="fui-block-group">
		<div class="fui-icon-group col-3" style='overflow: hidden;'>
			<a class="fui-icon-col" href="javascript:;" ng-click="access_json('jy_mlianfee/balance/')">
                <div class="icon " style="color: #ff4357;"><i class="icon jinyunicon icon-caifua"></i></div>
                <div class="text new">
					<div class="title">已结算收益</div>
                    <div class=""><span>{{pagedata.data.balance_total || '0.00'}}</span> 元</div>
				</div>
            </a>
            <a class="fui-icon-col" href="javascript:;" ng-click="access_json('jy_mlianfee/commission/main')">
                <div class="icon " style="color: #ff4357;"><i class="icon jinyunicon icon-caifua"></i></div>
                <div class="text new">
					<div class="title">待结算收益</div>
                    <div class=""><span>{{pagedata.data.commission_1 || '0.00'}}</span> 元</div>
				</div>
            </a>
			<a class="fui-icon-col" href="javascript:;" ng-click="access_json('jy_mlianfee/order//type=2')">
                <div class="icon" style="color: #9ec9f4;"><i class="icon jinyunicon icon-dixiaofei"></i></div>
				<div class="text new">
					<div class="title">培育收益</div>
					<div class=""><span>{{pagedata.data.fee2 || 0}}</span> 元</div>
				</div>
            </a>
			<a class="fui-icon-col" href="javascript:;" ng-click="access_json('jy_mlianfee/order//type=0')">
                <div class="icon" style="color: #9ec9f4;"><i class="icon jinyunicon icon-dixiaofei"></i></div>
				<div class="text new">
					<div class="title">带货收益</div>
					<div class=""><span>{{pagedata.data.fee0 || 0}}</span> 元</div>
				</div>
            </a>
			<a class="fui-icon-col" href="javascript:;" ng-click="access_json('jy_mlianfee/ci_fee/')">
                <div class="icon" style="color: #9ec9f4;"><i class="icon jinyunicon icon-dixiaofei"></i></div>
				<div class="text new">
					<div class="title">生态池</div>
					<div class=""><span>{{pagedata.data.allcifee || 0}}</span> 个</div>
				</div>
            </a>
		</div>
		</div>
    </div>
	</div>
</div>
<div ng-if="pagedata.ewmshow" class="popup">
	<div class="popup-body">
		<div class="popup-center" style="background:#fc6d60">
			<style>
				input{ caret-color: #fff}
				.fui-cell-group .fui-cell .fui-cell-info  ::-webkit-input-placeholder{
					color: #fff
				}
				.fui-cell-group .fui-cell .fui-cell-info {
					font-size: 0.85rem;
					color: #fff;
				}
			</style>
			<i class="closed icon icon-cuowu" ng-click="pagedata.ewmshow=false"></i>
			 <div class='fui-cell-group fui-cell-group-o' style="margin:0.5rem 2rem;padding-top:0.5rem;background:#fc6d60">
				<div class='fui-cell-title c' style="color:#fff">【店铺码】
				</div>
				<div class='fui-cell' style="padding-bottom:0">
					<div class="fui-cell-text c">
						<div class="img_box" id="show_verify_ewm">
						</div>
					</div>
				</div>
				<div class='fui-cell' style="margin-top:0;padding-top:0">
					<div class="fui-cell-text">
					<div class="error c">
						<p style="padding: 0 1.3rem">温馨提示：请用微信扫一扫！</p>
					</div>
					</div>
				</div>
			</div>
		</div>
	</div>
</div>
<div ng-include="sys_html('common/_h5game',true)"></div>
<div ng-include="sys_html('_footer')"></div>
<script>
scope.pagedata.show_verify=function(){
	var url=scope.pagedata.merchurl;
	scope.tool.qr(url,'show_verify_ewm',150)
}
</script>